package net.xdclass.manager;

import net.xdclass.model.ShortLinkDO;

public interface ShortLinkManager {

    int addShortLink(ShortLinkDO shortLinkDO);

    ShortLinkDO findByShortLinkCode(String shortLinkCode);

    /**
     * 删除
     * @param shortLinkDO
     * @return
     */
    int del(ShortLinkDO shortLinkDO);
    int update(ShortLinkDO shortLinkDO);

}
